package com.concurrent.chapter8.concurrent01;

import java.util.concurrent.Callable;

public class MyCallableA implements Callable<String> {

	@Override
	public String call() throws Exception {
		try {
			System.out.println("MyCallableA.call() begin " + Thread.currentThread().getName() + System.currentTimeMillis());//11473036678105
			Thread.sleep(3000);
			System.out.println("MyCallableA.call() end " + Thread.currentThread().getName() + System.currentTimeMillis());//11473036681107
		} catch (Exception e) {
			e.printStackTrace();
		}
		return "returnB";
	}
}
